package com.jumper.study.admin.service;

import java.util.Collection;
import java.util.List;

import com.jumper.study.db.model.LessonChapter;

public interface LessonChapterService extends BaseService<LessonChapter> {
    //读取课程列表
    List<LessonChapter> getByLessonId(Long id);

    //上架设置
    boolean onselfById(Long id, boolean onself);

    //批量上架设置
    boolean onselfBatchById(Collection<Long> ids, boolean onself);

    //删除相关课程章节
    boolean removeByLessonId(Long id);
}
